<?php
abstract class Impact_View_Helper_FormControl 
{
    protected $_view;

    protected function _buildAttributeString($attributes)
    {
        $tmp = array();

        foreach ($attributes as $k => $v) {
            $tmp[] = $k.'="'.$this->_view->escape($v).'"';
        }

        return implode(' ', $tmp);
    }

    public function setView(Zend_View_Interface $view)
    {
        $this->_view = $view;
    }
}

// vim: sw=4:ts=4:sts=4:et
